<?php

  /**
  * QuickSkin Extension current_date
  * Print Current Date
  *
  * Usage Example:
  * Template: Today: {current_date:}
  * Result:   Today: 30.01.2003
  *
  * @author Philipp v. Criegern philipp@criegern.de
  * CVS ID: $Id: smarttemplate_extension_current_date.php,v 1.2 2006/04/30 19:56:04 endelwar Exp $
  */
  function quickskin_ext_current_date ()
  {
    global $_CONFIG;

    if (empty($_CONFIG['date_format']))
    {
      $_CONFIG['date_format']  =  'd.m.Y';
    }
    return date( $_CONFIG['date_format'] );
  }

?>
